package com.xiyu.service.convert.unit;

import com.xiyu.service.vo.unit.rank.RankSimpleListOutput;
import com.xiyu.service.vo.unit.rank.RankSingleGetOutput;
import com.xiyu.service.vo.unit.rank.RankUpdateInput;
import com.xiyu.service.vo.unit.rank.RankCreateInput;
import com.xiyu.service.vo.unit.rank.RankPageQueryOutput;
import com.xiyu.service.model.unit.rank.UnitRank;
import java.util.*;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 职级管理 Convert
 */
@Mapper
public interface RankConvert {
    RankConvert INSTANCE = Mappers.getMapper(RankConvert.class);


    List<RankPageQueryOutput> pageQueryOutputConvert(List<UnitRank> output);

    UnitRank createInputConvert(RankCreateInput input);

    UnitRank updateInputConvert(RankUpdateInput input);

    RankSingleGetOutput singleGetOutputConvert(UnitRank output);

    List<RankSimpleListOutput> simpleListOutputConvert(List<UnitRank> output);

}
